//定义body里的变量，body参数通常指的是HTTP请求体中的数据，用于向服务器传递数据
export interface reqPaBody {
    applicant: string;
    inventor: string;
    openId: string;
    patentName: string;
    region: string;
    title: string;
    type: string;
}
//数据接口里的数据变量通常用于描述接口的输入和输出。
export interface resData {
    code: number
    msg: string
    data: {
        "totalCount": number
        "pageSize": number
        "totalPage": number,
        "currPage": number,
        // "list": paList[]
        //获取数据里包含的数组
        "list": Array<paListType>
    }
}

//定义数组里的变量
export interface paListType {
    applicant: string;
    id: number;
    inventor: string;
    openId: string;
    openTime: string;
    page: string;
    pageSize: string;
    patentName: string;
    region: string;
    time: string;
    title: null;
    type: string;
}

export interface SimpWordsData {
    code: number
    msg: string
    result: {
        "content": string
    }
}

